﻿@model IEnumerable<TCM.Exam>

@{
    ViewBag.Title = "Index";
}
<div class="IndexBack">
    @Html.ActionLink(" ", "../")
</div>
<br />

<div class="toolbar">
    @Html.ActionLink("Create New", "Create")
</div>
<br />
<table class="grdTable" style="width: 100%;" cellspacing="0">
    <thead>
<tr class="GridHeader">
        <th >
            @Html.DisplayNameFor(model => model.Name)
        </th>
      
       @* <th width="100">
            @Html.DisplayNameFor(model => model.Title)
        </th>
       *@
        <th>
            @Html.DisplayNameFor(model => model.Date)
        </th>
        <th >
            @Html.DisplayNameFor(model => model.Type)
        </th>
       @* <th width="100">
            @Html.DisplayNameFor(model => model.PLACEMENTTEST)
        </th>*@
      
        
    </tr>
     </thead>
 <tbody>
@foreach (var item in Model) {
    
    <tr>      
        <td>
            @Html.DisplayFor(modelItem => item.Name)
        </td>
      
       @* <td>
            @Html.DisplayFor(modelItem => item.Title)
        </td>*@
     
        <td>
            @Html.DisplayFor(modelItem => item.Date)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ExamType.ExamTypeName)
        </td>
       @* <td>
            @Html.DisplayFor(modelItem => item.PLACEMENTTEST)
        </td>*@
       <td class="">
             
            <a class="GridEdit"  href="@Url.Action("Edit", new  { id=item.ExamID })">Edit</a>     
            <a class="GridDetails"  href="@Url.Action("Details", new  { id=item.ExamID })">Details</a>     
           <a  class="GridDelete" href="@Url.Action("Delete", new  { id=item.ExamID })">Delete</a>
            
           
       </td>
    </tr>
   
}
       
 </tbody>
    
  

</table>


